<template>
  <div class="modalbox">
    <el-form ref="form" :model="form" label-width="80px">
      <el-form-item label="姓名">
        <el-input v-model="form.name"></el-input>
      </el-form-item>
      <el-form-item label="昵称">
        <el-input v-model="form.nike"></el-input>
      </el-form-item>
      <el-form-item label="性别">
        <el-radio-group v-model="form.gender">
          <el-radio label="男"></el-radio>
          <el-radio label="女"></el-radio>
        </el-radio-group>
      </el-form-item>
      <el-form-item label="出生日期">
        <el-col :span="11">
          <el-date-picker type="date" placeholder="选择日期" v-model="form.birthday" style="width: 100%;"></el-date-picker>
        </el-col>
      </el-form-item>
      <el-form-item label="管理员">
        <el-switch></el-switch>
      </el-form-item>
      <el-form-item label="电话号码">
        <el-input type="telephone" v-model="form.tel"></el-input>
      </el-form-item>
      <el-form-item label="手机号码">
        <el-input type="telephone" v-model="form.tel"></el-input>
      </el-form-item>
      <el-form-item label="邮箱">
        <el-input type="email" v-model="form.email"></el-input>
      </el-form-item>
      <el-form-item label="居住地">
        <el-input type="text" v-model="form.address"></el-input>
      </el-form-item>
      <el-form-item label="详细地址">
        <el-input type="text" v-model="form.detailAddress"></el-input>
      </el-form-item>
      <el-form-item label="个人简介">
        <el-input type="textarea" v-model="form.intro"></el-input>
      </el-form-item>
    </el-form>
  </div>
</template>

<script>
export default {
  name: "ModalBox",
  props:{
    form: Object,
    default() {
      return {}
    }
  }
}
</script>

<style scoped>
</style>